wayland: Add support for the fractional scale protocol
authorBenjamin Otte <otte@redhat.com>
Sat, 1 Apr 2023 10:48:26 +0000 (12:48 +0200)
committerBenjamin Otte <otte@redhat.com>
Sat, 1 Apr 2023 10:57:03 +0000 (12:57 +0200)
commit54e8bd898a55eec8b3ff966482400b9ec47f7a9e
tree45e88499e1e17d131285ab85cd15ad5448336c91
parent2fb11765c78b2dc4859705de0a83b07cd88a09d2
wayland: Add support for the fractional scale protocol

April fools!

No, really.
The fractional scale protocol is just a way to track the surface scale,
but not a way to draw fractional content.
This commit uses it for that, so tht we don't rely on tracking outputs.

This also allows magnifiers etc to send us a larger (integer) scale if
they would like that, that is not represented by the outputs.
gdk/wayland/gdkdisplay-wayland.c
gdk/wayland/gdkdisplay-wayland.h
gdk/wayland/gdksurface-wayland-private.h
gdk/wayland/gdksurface-wayland.c
gdk/wayland/meson.build